<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var a = function () {
        console.log("这个场景下this是window吗：");
        console.log(this == window);
        console.log("这个场景下 this instanceof a 吗？");
        console.log(this instanceof a);
        console.log("---------------");
    }
    a();
    new a();
</script>
</body>
</html>